package org.hxd.employee.service;

import org.hxd.pojo.Dept;
import org.hxd.pojo.Employee;
import org.hxd.pojo.Job;
import org.hxd.units.PageModel;

import java.util.List;

public interface EmployeeService {
    List<Job> findAllJob();

    List<Dept> findAllDept();

    List<Employee> findEmployee(Employee employee, PageModel pageModel);

    int findEmployeeCount(Employee employee);

    Employee findEmployeeByid(int id);

    int modifyEmployee(Employee employee);

    int removeEmployee(Integer[] ids);

    int addEmployee(Employee employee);
}
